package com.nbgroup.mapper;

import com.nbgroup.pojo.Clue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nbgroup.pojo.DeptMent;
import com.nbgroup.pojo.vo.ClueListByOwnerVO;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-10-26
 */
public interface ClueMapper extends BaseMapper<Clue> {

    List<ClueListByOwnerVO> listByOwner(LocalDate begin,LocalDate end);

    @Select("select * from dept where dept_id in #{ids}")
    List<DeptMent> listDept(List<Long> ids);
}
